package com.ieasy.module.system.web.form;

import java.util.Date;

import com.ieasy.basic.model.SystemContext;

public class IntellEctualForm {

	private Integer id ;
	
	private String title ;
	
	private String type ;
	
	private String content ;
	
	private Date created = new Date() ;
	
	private String role_id ;
	
	private String role_name ;
	
	private String role_ids ;
	
	private String role_names ;
	
	private String ids ;			//ID集合（删除）
	
	private int page;				// 当前页
	
	private int rows;				// 每页显示记录数
	
	private String sort;			// 排序字段名
	
	private String order;			// 按什么排序(asc,desc)

	private int notField1 ;
	private long notField2 ;
	private String notField3 ;
	
	public int getNotField1() {
		return notField1;
	}

	public void setNotField1(int notField1) {
		this.notField1 = notField1;
	}

	public long getNotField2() {
		return notField2;
	}

	public void setNotField2(long notField2) {
		this.notField2 = notField2;
	}

	public String getNotField3() {
		return notField3;
	}

	public void setNotField3(String notField3) {
		this.notField3 = notField3;
	}

	public String getRole_id() {
		return role_id;
	}

	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getRole_names() {
		return role_names;
	}

	public void setRole_names(String role_names) {
		this.role_names = role_names;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getRole_ids() {
		return role_ids;
	}

	public void setRole_ids(String role_ids) {
		this.role_ids = role_ids;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		if(page < 0) SystemContext.setPage(1) ;
		else SystemContext.setPage(page) ;
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		if(rows < 0) SystemContext.setRows(15) ;
		else SystemContext.setRows(rows) ;
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	
}
